package com.csii.adhoc.dataready.mapper;


import com.csii.adhoc.dataready.TDataNickName;
import com.csii.adhoc.dataready.TDataParamPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TDataParamMapper {
    int deleteByModelId(String modelId);

    int deleteBySeqno(@Param("modelId")String modelId, @Param("seqno")int seqno);

    int insertOneTDataParam(TDataParamPo record);

    int insertSelective(TDataParamPo record);

    TDataParamPo selectByPrimaryKey(String modelId);

    int updateByPrimaryKeySelective(TDataParamPo record);

    int updateByPrimaryKey(TDataParamPo record);

    List<TDataParamPo> selectListTDataParam(String type);

    Map selCustMapDataDbTable(String model_id);

    List selCustListDataDbTable(String model_id);


    int saveNickName(TDataNickName tDataNickName);


    int deleteNickName(TDataNickName tDataNickName);

    List<TDataNickName> queryExistNickName(TDataNickName tDataNickName);

    int checkIsExistNickName(TDataNickName tDataNickName);


    int updateNickNameInfo(TDataNickName tDataNickName);
}